package com.fresh.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fresh.entity.FreshArea;
import com.fresh.qo.AreaQO;

import java.util.List;

public interface AreaService extends IService<FreshArea> {

    /**
     * 分页查询与条件查询
     * @param areaQO
     * @return
     */
    IPage<FreshArea> getByConditionAndPage(AreaQO areaQO);

//    List<FreshArea> getByCondition(String name);

    void updateStatusById(FreshArea freshArea);
}
